package com.bjsxt.controller;

import com.bjsxt.pojo.MarriedPerson;
import com.bjsxt.pojo.PageA;
import com.bjsxt.service.MarriedPersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/marriedPerson")
public class MarriedPersonController {
    @Autowired
    private MarriedPersonService marriedPersonService;
    @RequestMapping("/findMore")
    public PageA<MarriedPerson> findMore( Integer page,Integer rows,MarriedPerson marriedPerson){
        return  marriedPersonService.findmore(page, rows, marriedPerson);
    }
}
